#ifndef DAC_STM32_H_
#define DAC_STM32_H_

void DAC1_Configuration(void);
void DAC1_Out(uint16_t value);
void DAC1_stop_WAV(WAV_INFO wav_info);
void DAC1_play_WAV(WAV_INFO wav_info);
void DAC1_generate_const(unsigned int level);
void DAC1_generate_sine(unsigned int freq);
void DAC1_generate_square(unsigned int freq);
void DAC1_generate_triangular(unsigned int freq);
void DAC1_generate_squarecustom(unsigned int Ton, unsigned int Toff);

#endif
